Package com.cisco.pt.ipc.sim.pdu
Interface OSPFv3HelloPacket
- All Superinterfaces:
IPCData,OSPFPacket,Pdu,Signal
- All Known Implementing Classes:
OSPFv3HelloPacketImpl
-
Method Summary
Modifier and TypeMethodDescriptionintintvoidsetBackupDesignatedRouter(IPAddress backupDesignatedRouter) voidsetDeadInterval(Short deadInterval) voidsetDesignatedRouter(IPAddress designatedRouter) voidsetHelloInterval(Short helloInterval) voidsetInterfaceId(int interfaceId) voidsetNeighbors(List<IPAddress> neighbors) voidsetOptionV3(int optionV3) voidsetPriority(Byte priority) Methods inherited from interface com.cisco.pt.ipc.sim.pdu.OSPFPacket
getAreaId, getAuthenticationType, getCheckSum, getLength, getRouterId, getSequence, getTypeCode, getVersion, setAreaId, setAuthenticationType, setCheckSum, setLength, setRouterId, setSequence, setTypeCode, setVersionMethods inherited from interface com.cisco.pt.ipc.sim.pdu.Signal
encodeTypeAndPayload, getFieldValue, getOrderedFieldNames, pduRead
-
Method Details
-
getInterfaceId
int getInterfaceId()- Returns:
- int Returns a int
-
setInterfaceId
void setInterfaceId(int interfaceId) - Parameters:
interfaceId- Takes in a parameter of interfaceId
-
getPriority
Byte getPriority()- Returns:
- Byte Returns a Byte
-
setPriority
- Parameters:
priority- Takes in a parameter of priority
-
getOptionV3
int getOptionV3()- Returns:
- int Returns a int
-
setOptionV3
void setOptionV3(int optionV3) - Parameters:
optionV3- Takes in a parameter of optionV3
-
getHelloInterval
Short getHelloInterval()- Returns:
- Short Returns a Short
-
setHelloInterval
- Parameters:
helloInterval- Takes in a parameter of helloInterval
-
getDeadInterval
Short getDeadInterval()- Returns:
- Short Returns a Short
-
setDeadInterval
- Parameters:
deadInterval- Takes in a parameter of deadInterval
-
getDesignatedRouter
IPAddress getDesignatedRouter()- Returns:
- IPAddress Returns a IPAddress
-
setDesignatedRouter
- Parameters:
designatedRouter- Takes in a parameter of designatedRouter
-
getBackupDesignatedRouter
IPAddress getBackupDesignatedRouter()- Returns:
- IPAddress Returns a IPAddress
-
setBackupDesignatedRouter
- Parameters:
backupDesignatedRouter- Takes in a parameter of backupDesignatedRouter
-
getNeighbors
- Returns:
- List<IPAddress> Returns a List<IPAddress>
-
setNeighbors
- Parameters:
neighbors- Takes in a parameter of neighbors
-